<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Starshatter_Open: DataLoader Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Starshatter_Open
   </div>
   <div id="projectbrief">Open source Starshatter engine</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_data_loader.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">DataLoader Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_data_loader_8h_source.html">DataLoader.h</a>&gt;</code></p>

<p><a href="class_data_loader-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:adf665509fa2e7aefa086b9f206b094b6"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="class_data_loader.html#adf665509fa2e7aefa086b9f206b094b6a996e140f16274673775429a6d1b0d64b">DATAFILE_OK</a>, 
<a class="el" href="class_data_loader.html#adf665509fa2e7aefa086b9f206b094b6aa0e7bae0e6d398ae3929c3102ad52db7">DATAFILE_INVALID</a>, 
<a class="el" href="class_data_loader.html#adf665509fa2e7aefa086b9f206b094b6a0bcda242e48667aeb8584d57a6aa70d1">DATAFILE_NOTEXIST</a>
 }</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1e3bfa6d0116f0ecc8ec4596e35a09f0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#a1e3bfa6d0116f0ecc8ec4596e35a09f0">DataLoader</a> ()</td></tr>
<tr class="memitem:a08f42291dcc4a191aee64839f5657fbf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#a08f42291dcc4a191aee64839f5657fbf">Reset</a> ()</td></tr>
<tr class="memitem:a1f29154a3188c70118d08d39d847c1d8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#a1f29154a3188c70118d08d39d847c1d8">UseFileSystem</a> (bool use=true)</td></tr>
<tr class="memitem:ac3e8d71250a3c656674b8b3baa6664cc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#ac3e8d71250a3c656674b8b3baa6664cc">UseVideo</a> (<a class="el" href="class_video.html">Video</a> *v)</td></tr>
<tr class="memitem:a4f4e53df6542318607be4c633aa97d83"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#a4f4e53df6542318607be4c633aa97d83">EnableMedia</a> (bool enable=true)</td></tr>
<tr class="memitem:a66c0a52b02e589ea69d712e006324952"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#a66c0a52b02e589ea69d712e006324952">EnableDatafile</a> (const char *name)</td></tr>
<tr class="memitem:a70d39eccebf371f8cc246e9c3e7ba8a8"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#a70d39eccebf371f8cc246e9c3e7ba8a8">DisableDatafile</a> (const char *name)</td></tr>
<tr class="memitem:a83aa0cbac32de6967091538fbec63d9c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#a83aa0cbac32de6967091538fbec63d9c">SetDataPath</a> (const char *path)</td></tr>
<tr class="memitem:a551bc062ccefbb1b874bfae6bbc52204"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#a551bc062ccefbb1b874bfae6bbc52204">GetDataPath</a> () const </td></tr>
<tr class="memitem:aacb3e9da0ad12572223d4dcdd5f06275"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#aacb3e9da0ad12572223d4dcdd5f06275">IsFileSystemEnabled</a> () const </td></tr>
<tr class="memitem:a8a1140f395dd6b24bf48a42300ae47e7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#a8a1140f395dd6b24bf48a42300ae47e7">IsMediaLoadEnabled</a> () const </td></tr>
<tr class="memitem:ace6845700324e3b1a50b85beb4730024"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#ace6845700324e3b1a50b85beb4730024">FindFile</a> (const char *fname)</td></tr>
<tr class="memitem:ae39736c5628182a6fde0acbf89264798"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#ae39736c5628182a6fde0acbf89264798">ListFiles</a> (const char *filter, <a class="el" href="class_list.html">List</a>&lt; <a class="el" href="class_text.html">Text</a> &gt; &amp;list, bool recurse=false)</td></tr>
<tr class="memitem:aad9bf032d3720098f8aa307e1a06c5b1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#aad9bf032d3720098f8aa307e1a06c5b1">ListArchiveFiles</a> (const char *archive, const char *filter, <a class="el" href="class_list.html">List</a>&lt; <a class="el" href="class_text.html">Text</a> &gt; &amp;list)</td></tr>
<tr class="memitem:a5c71d6acef8c008281c876d45dd2664b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#a5c71d6acef8c008281c876d45dd2664b">LoadBuffer</a> (const char *name, BYTE *&amp;buf, bool null_terminate=false, bool optional=false)</td></tr>
<tr class="memitem:aeba3bfc2453843a6dbc4aa6d44a4743e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#aeba3bfc2453843a6dbc4aa6d44a4743e">LoadBitmap</a> (const char *name, <a class="el" href="class_bitmap.html">Bitmap</a> &amp;bmp, int type=0, bool optional=false)</td></tr>
<tr class="memitem:a52a38fb171bf726bbbce955a97533c12"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#a52a38fb171bf726bbbce955a97533c12">CacheBitmap</a> (const char *name, <a class="el" href="class_bitmap.html">Bitmap</a> *&amp;bmp, int type=0, bool optional=false)</td></tr>
<tr class="memitem:a43a83c4d22b32e2035fd1c8af7dea3e1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#a43a83c4d22b32e2035fd1c8af7dea3e1">LoadTexture</a> (const char *name, <a class="el" href="class_bitmap.html">Bitmap</a> *&amp;bmp, int type=0, bool preload_cache=false, bool optional=false)</td></tr>
<tr class="memitem:adead1ba58dea0ab9630be371458cfe2a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#adead1ba58dea0ab9630be371458cfe2a">LoadSound</a> (const char *fname, <a class="el" href="class_sound.html">Sound</a> *&amp;snd, DWORD flags=0, bool optional=false)</td></tr>
<tr class="memitem:a49a2bd06ec3f347dbcd18343451ba774"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#a49a2bd06ec3f347dbcd18343451ba774">LoadStream</a> (const char *fname, <a class="el" href="class_sound.html">Sound</a> *&amp;snd, bool optional=false)</td></tr>
<tr class="memitem:ad5903dddab41f4c3b6d5e0289b52abdd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#ad5903dddab41f4c3b6d5e0289b52abdd">ReleaseBuffer</a> (BYTE *&amp;buf)</td></tr>
<tr class="memitem:abbeb6e4ac6d94ea5025e61debaf16e3e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#abbeb6e4ac6d94ea5025e61debaf16e3e">fread</a> (void *buffer, size_t size, size_t count, BYTE *&amp;stream)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a675ab4fe87cc5800d0567b6edf105647"><td class="memItemLeft" align="right" valign="top">static const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#a675ab4fe87cc5800d0567b6edf105647">TYPENAME</a> ()</td></tr>
<tr class="memitem:a6870b699410ca41cbc38ae5e55dc63aa"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_data_loader.html">DataLoader</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#a6870b699410ca41cbc38ae5e55dc63aa">GetLoader</a> ()</td></tr>
<tr class="memitem:ae173f3cc94ed3f28092a2c464c3b1e73"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#ae173f3cc94ed3f28092a2c464c3b1e73">Initialize</a> ()</td></tr>
<tr class="memitem:adb9f4a151499756be998c266b86e6843"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_data_loader.html#adb9f4a151499756be998c266b86e6843">Close</a> ()</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_data_loader_8h_source.html#l00026">26</a> of file <a class="el" href="_data_loader_8h_source.html">DataLoader.h</a>.</p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="adf665509fa2e7aefa086b9f206b094b6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
</div><div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="adf665509fa2e7aefa086b9f206b094b6a996e140f16274673775429a6d1b0d64b"></a>DATAFILE_OK</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="adf665509fa2e7aefa086b9f206b094b6aa0e7bae0e6d398ae3929c3102ad52db7"></a>DATAFILE_INVALID</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="adf665509fa2e7aefa086b9f206b094b6a0bcda242e48667aeb8584d57a6aa70d1"></a>DATAFILE_NOTEXIST</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="_data_loader_8h_source.html#l00031">31</a> of file <a class="el" href="_data_loader_8h_source.html">DataLoader.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1e3bfa6d0116f0ecc8ec4596e35a09f0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DataLoader::DataLoader </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8cpp_source.html#l00033">33</a> of file <a class="el" href="_data_loader_8cpp_source.html">DataLoader.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a52a38fb171bf726bbbce955a97533c12"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int DataLoader::CacheBitmap </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_bitmap.html">Bitmap</a> *&amp;&#160;</td>
          <td class="paramname"><em>bmp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>type</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>optional</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8cpp_source.html#l00472">472</a> of file <a class="el" href="_data_loader_8cpp_source.html">DataLoader.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="adb9f4a151499756be998c266b86e6843"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void DataLoader::Close </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8cpp_source.html#l00057">57</a> of file <a class="el" href="_data_loader_8cpp_source.html">DataLoader.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a70d39eccebf371f8cc246e9c3e7ba8a8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int DataLoader::DisableDatafile </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8cpp_source.html#l00135">135</a> of file <a class="el" href="_data_loader_8cpp_source.html">DataLoader.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a66c0a52b02e589ea69d712e006324952"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int DataLoader::EnableDatafile </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8cpp_source.html#l00090">90</a> of file <a class="el" href="_data_loader_8cpp_source.html">DataLoader.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4f4e53df6542318607be4c633aa97d83"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DataLoader::EnableMedia </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enable</em> = <code>true</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8cpp_source.html#l00082">82</a> of file <a class="el" href="_data_loader_8cpp_source.html">DataLoader.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ace6845700324e3b1a50b85beb4730024"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool DataLoader::FindFile </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fname</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8cpp_source.html#l00163">163</a> of file <a class="el" href="_data_loader_8cpp_source.html">DataLoader.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="abbeb6e4ac6d94ea5025e61debaf16e3e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int DataLoader::fread </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BYTE *&amp;&#160;</td>
          <td class="paramname"><em>stream</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8cpp_source.html#l00452">452</a> of file <a class="el" href="_data_loader_8cpp_source.html">DataLoader.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a551bc062ccefbb1b874bfae6bbc52204"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const char* DataLoader::GetDataPath </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8h_source.html#l00048">48</a> of file <a class="el" href="_data_loader_8h_source.html">DataLoader.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6870b699410ca41cbc38ae5e55dc63aa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_data_loader.html">DataLoader</a>* DataLoader::GetLoader </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8h_source.html#l00035">35</a> of file <a class="el" href="_data_loader_8h_source.html">DataLoader.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae173f3cc94ed3f28092a2c464c3b1e73"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void DataLoader::Initialize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8cpp_source.html#l00048">48</a> of file <a class="el" href="_data_loader_8cpp_source.html">DataLoader.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aacb3e9da0ad12572223d4dcdd5f06275"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool DataLoader::IsFileSystemEnabled </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8h_source.html#l00050">50</a> of file <a class="el" href="_data_loader_8h_source.html">DataLoader.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8a1140f395dd6b24bf48a42300ae47e7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool DataLoader::IsMediaLoadEnabled </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8h_source.html#l00051">51</a> of file <a class="el" href="_data_loader_8h_source.html">DataLoader.h</a>.</p>

</div>
</div>
<a class="anchor" id="aad9bf032d3720098f8aa307e1a06c5b1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int DataLoader::ListArchiveFiles </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>archive</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_list.html">List</a>&lt; <a class="el" href="class_text.html">Text</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>list</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8cpp_source.html#l00213">213</a> of file <a class="el" href="_data_loader_8cpp_source.html">DataLoader.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae39736c5628182a6fde0acbf89264798"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int DataLoader::ListFiles </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_list.html">List</a>&lt; <a class="el" href="class_text.html">Text</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>list</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>recurse</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8cpp_source.html#l00196">196</a> of file <a class="el" href="_data_loader_8cpp_source.html">DataLoader.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aeba3bfc2453843a6dbc4aa6d44a4743e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int DataLoader::LoadBitmap </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_bitmap.html">Bitmap</a> &amp;&#160;</td>
          <td class="paramname"><em>bmp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>type</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>optional</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8cpp_source.html#l00495">495</a> of file <a class="el" href="_data_loader_8cpp_source.html">DataLoader.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5c71d6acef8c008281c876d45dd2664b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int DataLoader::LoadBuffer </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BYTE *&amp;&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>null_terminate</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>optional</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8cpp_source.html#l00345">345</a> of file <a class="el" href="_data_loader_8cpp_source.html">DataLoader.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="adead1ba58dea0ab9630be371458cfe2a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int DataLoader::LoadSound </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_sound.html">Sound</a> *&amp;&#160;</td>
          <td class="paramname"><em>snd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">DWORD&#160;</td>
          <td class="paramname"><em>flags</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>optional</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8cpp_source.html#l00816">816</a> of file <a class="el" href="_data_loader_8cpp_source.html">DataLoader.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a49a2bd06ec3f347dbcd18343451ba774"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int DataLoader::LoadStream </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_sound.html">Sound</a> *&amp;&#160;</td>
          <td class="paramname"><em>snd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>optional</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8cpp_source.html#l00904">904</a> of file <a class="el" href="_data_loader_8cpp_source.html">DataLoader.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a43a83c4d22b32e2035fd1c8af7dea3e1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int DataLoader::LoadTexture </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_bitmap.html">Bitmap</a> *&amp;&#160;</td>
          <td class="paramname"><em>bmp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>type</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>preload_cache</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>optional</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8cpp_source.html#l00521">521</a> of file <a class="el" href="_data_loader_8cpp_source.html">DataLoader.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad5903dddab41f4c3b6d5e0289b52abdd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DataLoader::ReleaseBuffer </td>
          <td>(</td>
          <td class="paramtype">BYTE *&amp;&#160;</td>
          <td class="paramname"><em>buf</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8cpp_source.html#l00463">463</a> of file <a class="el" href="_data_loader_8cpp_source.html">DataLoader.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a08f42291dcc4a191aee64839f5657fbf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DataLoader::Reset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8cpp_source.html#l00068">68</a> of file <a class="el" href="_data_loader_8cpp_source.html">DataLoader.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a83aa0cbac32de6967091538fbec63d9c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DataLoader::SetDataPath </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8cpp_source.html#l00152">152</a> of file <a class="el" href="_data_loader_8cpp_source.html">DataLoader.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a675ab4fe87cc5800d0567b6edf105647"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const char* DataLoader::TYPENAME </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8h_source.html#l00029">29</a> of file <a class="el" href="_data_loader_8h_source.html">DataLoader.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1f29154a3188c70118d08d39d847c1d8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DataLoader::UseFileSystem </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>use</em> = <code>true</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8cpp_source.html#l00076">76</a> of file <a class="el" href="_data_loader_8cpp_source.html">DataLoader.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ac3e8d71250a3c656674b8b3baa6664cc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DataLoader::UseVideo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_video.html">Video</a> *&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_data_loader_8cpp_source.html#l00040">40</a> of file <a class="el" href="_data_loader_8cpp_source.html">DataLoader.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>D:/SRC/StarshatterSVN/nGenEx/<a class="el" href="_data_loader_8h_source.html">DataLoader.h</a></li>
<li>D:/SRC/StarshatterSVN/nGenEx/<a class="el" href="_data_loader_8cpp_source.html">DataLoader.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_data_loader.html">DataLoader</a></li>
    <li class="footer">Generated on Tue Jun 5 2012 20:47:50 for Starshatter_Open by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1 </li>
  </ul>
</div>
</body>
</html>
